/**
 * 一键隔离/解隔离状态对应样式配置
 */
export const STATUS_CONFIG = {
  ISOLATION: "",
  DISISOLATION: "",
  FINISH: "success"
};
/**
 * 支持一键隔离的状态
 */
export const GL_CODES = ["ISOLATION"];
/**
 * 支持一键解隔离的状态
 */
export const JGL_CODES = ["DISISOLATION"];

export const tagColorList = {
  隔离: "#F59E0B", // 隔离执行中
  解隔离: "#EF4444", // 解隔离执行中
  已完成: "#10B981", // 已完成
  撤回: "#909399" // 撤回
};
export const tagBgColorList = {
  隔离: "#FEF5E6", // 隔离执行中
  解隔离: "#FEECEC", // 解隔离执行中
  已完成: "#E8F8F3", // 已完成
  撤回: "#F4F4F5" // 撤回
};
export const tagBorderColorList = {
  隔离: "#FCE2B6", // 隔离执行中
  解隔离: "#FAC7C7", // 解隔离执行中
  已完成: "#B7EAD9", // 已完成
  撤回: "#E9E9EB" // 撤回
};

export const finishtableColumns = [
  { prop: "detectorCode", label: "设备位号", minWidth: "140", showOverflowTooltip: true, fixed: "left" },
  { prop: "gasName", label: "气体类型", minWidth: "100", showOverflowTooltip: true },
  { prop: "location", label: "位置", minWidth: "140", showOverflowTooltip: true },
  { prop: "isolateBeforeStatus", label: "隔离前状态", minWidth: "100", showOverflowTooltip: true },
  { prop: "isolateBeforeTime", label: "隔离前时间", minWidth: "100", showOverflowTooltip: true },
  { prop: "isolateAfterStatus", label: "隔离后状态", minWidth: "100", showOverflowTooltip: true },
  { prop: "isolateAfterTime", label: "隔离后时间", minWidth: "100", showOverflowTooltip: true },
  { prop: "isolateNum", label: "隔离命令执行次数", minWidth: "140", showOverflowTooltip: true },
  { prop: "isolateFileDTO", label: "隔离日志", minWidth: "100", showOverflowTooltip: true },
  { prop: "isolateType", label: "隔离类型", minWidth: "100", showOverflowTooltip: true },
  { prop: "disisolateBeforeStatus", label: "解隔离前状态", minWidth: "120", showOverflowTooltip: true },
  { prop: "disisolateBeforeTime", label: "解隔离前时间", minWidth: "120", showOverflowTooltip: true },
  { prop: "disisolateAfterStatus", label: "解隔离后状态", minWidth: "120", showOverflowTooltip: true },
  { prop: "disisolateAfterTime", label: "解隔离后时间", minWidth: "120", showOverflowTooltip: true },
  { prop: "disisolateNum", label: "解隔离命令执行次数", minWidth: "160", showOverflowTooltip: true },
  { prop: "disisolateFileDTO", label: "解隔离日志", minWidth: "100", showOverflowTooltip: true },
  { prop: "disisolateType", label: "解隔离类型", minWidth: "100", showOverflowTooltip: true }
];
export const gltableColumns = [
  { prop: "detectorCode", label: "设备位号", minWidth: "140", showOverflowTooltip: true, fixed: "left" },
  { prop: "gasName", label: "气体类型", minWidth: "100", showOverflowTooltip: true },
  { prop: "location", label: "位置", minWidth: "140", showOverflowTooltip: true },
  { prop: "isolateBeforeStatus", label: "隔离前状态", minWidth: "100", showOverflowTooltip: true },
  { prop: "isolateBeforeTime", label: "隔离前时间", minWidth: "100", showOverflowTooltip: true },
  { prop: "isolateAfterStatus", label: "隔离后状态", minWidth: "100", showOverflowTooltip: true },
  { prop: "isolateAfterTime", label: "隔离后时间", minWidth: "100", showOverflowTooltip: true },
  { prop: "isolateNum", label: "隔离命令执行次数", minWidth: "140", showOverflowTooltip: true },
  { prop: "isolateFileDTO", label: "隔离日志", minWidth: "100", showOverflowTooltip: true },
  { prop: "isolateType", label: "隔离类型", minWidth: "80", showOverflowTooltip: true }
];
export const jgltableColumns = [
  { prop: "detectorCode", label: "设备位号", minWidth: "140", showOverflowTooltip: true, fixed: "left" },
  { prop: "gasName", label: "气体类型", minWidth: "100", showOverflowTooltip: true },
  { prop: "location", label: "位置", minWidth: "140", showOverflowTooltip: true },
  { prop: "disisolateBeforeStatus", label: "解隔离前状态", minWidth: "120", showOverflowTooltip: true },
  { prop: "disisolateBeforeTime", label: "解隔离前时间", minWidth: "120", showOverflowTooltip: true },
  { prop: "disisolateAfterStatus", label: "解隔离后状态", minWidth: "120", showOverflowTooltip: true },
  { prop: "disisolateAfterTime", label: "解隔离后时间", minWidth: "120", showOverflowTooltip: true },
  { prop: "disisolateNum", label: "解隔离命令执行次数", minWidth: "140", showOverflowTooltip: true },
  { prop: "disisolateFileDTO", label: "解隔离日志", minWidth: "100", showOverflowTooltip: true },
  { prop: "disisolateType", label: "解隔离类型", minWidth: "80", showOverflowTooltip: true }
];
